path_to_wavs=$1
output_dir=$2
split=$3
ext=$4
mkdir -p $output_dir
echo "get_tsv.sh ：打印传入的各个变量"
echo "path_to_wavs: "$path_path_to_wavs
echo "output_dir: "$output_dir
echo "split: "$split
echo "ext: "$ext
echo "get_tsv.sh 打印各个变量结束"

valid=0.0
python tools/wav2vec_manifest.py $path_to_wavs \
  --dest $output_dir \
  --ext $ext \
  --valid-percent $valid \
  --split $split
#  --part-tsv-path /home/node22_tmpdata/xlgeng/pachong_10W_data/fairseq_data/manifest/shenghuo_1/train_small.tsv \
#  --part-tsv-path2 /home/node22_tmpdata/xlgeng/pachong_10W_data/fairseq_data/manifest/shenghuo_1/train_medium1.tsv